package com.wash.shoes.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wash.shoes.entity.FactoryAreaConfigPo;
import com.wash.shoes.request.FactoryDispatchRequest;

import java.util.List;

/**
 * 工厂区域配置 Service
 */
public interface FactoryAreaConfigService extends IService<FactoryAreaConfigPo> {
    /**
     * 配置工厂覆盖区域
     *
     * @param factoryId 工厂id
     * @param data      配置数据
     * @return
     */
    boolean dispatch(String factoryId, List<FactoryDispatchRequest.FactoryDispatchConfigRecord> data);
}
